package change;

import classification.PaymentClassification;
import domain.Employee;
import schedule.PaymentSchedule;

public abstract class ChangeClassificationTransaction extends ChangeEmployeeTransaction{
    public ChangeClassificationTransaction(int empId) {
        super(empId);
    }

    @Override
    public void change(Employee employee) {
        employee.setClassification(getClassification());
        employee.setSchedule(getPaymentSchedule());
    }

    public abstract PaymentClassification getClassification();

    public abstract PaymentSchedule getPaymentSchedule();
}
